//
//  HSYBaseViewController+Keyboard.h
//  高仿暴走斗图
//
//  Created by key on 16/6/15.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import "HSYBaseViewController.h"

@interface HSYBaseViewController (Keyboard)

/**
 *  rac键盘监听，键盘即将出现
 *
 *  @param object object
 *
 *  @return rac的signal信号
 */
- (RACSignal *)rac_kvoToKeyboardWillShowByObject:(id)object;

/**
 *  rac键盘监听，键盘隐藏完毕
 *
 *  @param object object
 *
 *  @return rac的signal信号
 */
- (RACSignal *)rac_kvoToKeyboardDidHideByObject:(id)object;

/**
 *  rac键盘监听，键盘改变完毕
 *
 *  @param object object
 *
 *  @return rac的signal信号
 */
- (RACSignal *)rac_kvoToKeyboardDidChangeByObject:(id)object;

/**
 *  rac键盘监听移除
 *
 *  @param name   监听类型
 *  @param object object（UIKeyboardWillShowNotification、UIKeyboardDidHideNotification、UIKeyboardDidChangeFrameNotification等）
 */
- (void)rac_removeKVOByKeyboardForName:(NSString *)name object:(id)object;

@end
